<template>
    <van-button v-on="$listeners" v-bind="$attrs"  :style="btnStyle" class="pkButton">
        <slot></slot>
    </van-button>
</template>

<script>
    export default {
        name: "pkButton",
        props: {
            height: {
                type: String,
                default: ""
            },
            width: {
                type: String,
                default: ""
            },
            fontSize: {
                type: String,
                default: ""
            },

        },
        components: {},

        data() {
            return {}
        },

        created() {
        },
        computed: {
            btnStyle() {
                return {
                    height: this.height,
                    width: this.width,
                    fontSize: this.fontSize,
                    lineHeight: this.height,
                }
            }
        },
        watch: {},
        methods: {}
    }
</script>

<style lang="scss" scoped>
    .pkButton {
    }
</style>
